<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/login.css">
</head>
<body>
<header>
    <!--    导航-->
    <nav class="container">
        <div class="row">
            <div class="logo float-left col-4">Davion个人博客</div>
            <ul class="col-8 row">
                <li class="col-2"><a href="index.html">首页</a></li>
                <li class="col-2"><a href="time.html">时间轴</a></li>
                <li class="col-2"><a href="photo.html">照片墙</a></li>
                <li class="col-2"><a href="login.html">登录</a></li>
                <li class="col-2"><a href="comment.html">留言</a></li>
                <li class="col-2"><a href="about.html">关于我</a></li>
            </ul>
        </div>
    </nav>
</header>

<main class="container mt-5 w-25">
    <form action="" class="p-4">
        <div id="msg-box" class="alert">
            <span id="msg"></span>
        </div>
        <h3 class="text-center">登录</h3>
        <div class="form-group">
            <label for="username">用户名：</label>
            <input type="text" id="username" class="form-control">
        </div>
        <div class="form-group">
            <label for="password">密码：</label>
            <input type="password" id="password" class="form-control">
        </div>
        <div class="form-check">
            <input type="checkbox" class="form-check-input" id="remember">
            <label for="remember">记住密码</label>
            <span class="float-right"><a href="register.html">立即注册</a></span>
        </div>
        <button type="button" id="login-btn" class="btn btn-block btn-primary">登录</button>
    </form>
</main>

<footer class="text-center text-secondary my-5">
    Power by Davion
</footer>

<script src="./node_modules/jquery/dist/jquery.js"></script>
<script src="./node_modules/popper.js/dist/umd/popper.js"></script>
<script src="./node_modules/bootstrap/dist/js/bootstrap.js"></script>
<script src="./js/common.js"></script>
<script src="./js/login.js"></script>
</body>
</html>